<template>
	<view class="conter">
		
		<view class="header_nav">
			<view class="header-title">
				今日新增
			</view>
			<view class="header_tlt">
				<view class="header-bgc">
					<view class="bgc">
						<view class="" style="width: 60rpx; height: 60rpx; margin: auto; ">
							<image src="../../static/index/download.png" mode=""></image>
						</view>
					</view>
					<view class="text-size">
						入库单：23
					</view>
				</view>
				<view class="">
					<view class="header-bgc">
						<view class="bgc">
							<view class="" style="width: 60rpx; height: 60rpx; margin: auto; ">
								<image src="../../static/index/upload.png" mode=""></image>
							</view>
						</view>
						<view class="text-size">
							出库单：105
						</view>
					</view>
				</view>
			</view>
		</view>
		
		
		
		
		<!-- 宫格 -->
		<view class="nav">
			<view class="nav-text" style="display: flex;">
				<view class="nav-left" style="margin-right: 30rpx; background-color: #1AC1EC;">
					<view class="nav-image">
						<image src="../../static/index/put.png" mode=""></image>
					</view>
					<view class="mtop-text">
						入库
					</view>
				</view>
				<view class="nav-left" style="background-color: #20E4BD;">
					<view class="nav-image">
						<image src="../../static/index/stock.png" mode=""></image>
					</view>
					<view class="mtop-text">
						出库
					</view>
				</view>
			</view>
			<view class="nav-text" style="display: flex;">
				<view class="nav-left" style="margin-right: 30rpx; background-color: #70A2FF;">
					<view class="nav-image">
						<image src="../../static/index/check.png" mode=""></image>
					</view>
					<view class="mtop-text">
						盘点
					</view>
				</view>
				<!-- :url="'?tilte=' + tilte " hover-class="navigator-hover" -->
				<navigator url="/pages/contact/index" class="nav-left" hover-class="navigator-hover" style="background-color: #8B6DFF;">
					<view class="nav-image">
						<image src="../../static/index/laiwang.png" mode=""></image>
					</view>
					<view class="mtop-text">
						往来单位
					</view>
				</navigator>
			</view>
			<view class="nav-text" style="display: flex;">
				<view class="nav-left" style="margin-right: 30rpx; background-color: #F79AC4;">
					<view class="nav-image">
						<image src="../../static/index/warehouse.png" mode=""></image>
					</view>
					<view class="mtop-text">
						仓库管理
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	
	export default {
		components: {
		},
		data() {
			return {
				tilte: '往来单位'
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		methods: {
			goFile(url) {
				console.log(url + '')
				uni.navigateTo({
				    url: 'url'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.conter {
		color: #FFFFFF;
		padding-bottom: 100rpx;
		
		image {
			width: 100%;
			height: 100%;
		}
		
		.header_nav {
			width: 100%;
			height: 448rpx;
			padding-top: 61rpx;
			background: linear-gradient(to right, #656CE6, #9397FC);
			
			.header-title {
				color: #FFFFFF;
				text-align: center;
				font-size: 36rpx;
				font-family: PingFang SC;
				font-weight: 500;
				margin-bottom: 40rpx;
			}  
			
			.header_tlt {
				width: 100%;
				height: 200rpx;
				display: flex;
				justify-content: space-around;
				
				.header-bgc {
					text-align: center;
				}
				
				.bgc {
					width: 120rpx;
					height: 120rpx;
					border-radius: 50%;
					background: #8D92FA;
					display: flex; 
					justify-content: center; 
					align-items: center;
				}
				
				.text-size {
					margin-top: 40rpx;
				}
			}
		}
		
		.nav {
			width: 100%;
			padding: 30rpx;
			background-color: #F8F9FF;
			
			.nav-text {
				margin-bottom: 30rpx;
				
				.nav-left {
					width: 330rpx;
					height: 330rpx;
					padding-top: 68rpx;
					justify-content: center;
					align-items: center;
					text-align: center;
					border-radius: 10rpx;
					
					.nav-image {
						width: 114rpx;
						height: 114rpx;
						margin: 0 auto;
					}
				}
				
				.mtop-text {
					margin-top: 16rpx;
					font-size: 38rpx;
					font-family: PingFang SC;
					font-weight: 500;
				}
			}
			
		}
		
	}
</style>
